from django.urls import path

from . import views

urlpatterns = [
    path('', views.index, name='index'),
    path('manage/', views.manage, name='manage'),
    path('login/',views.manager_login,name='manager_login'),
    path('manage/loginopt/',views.login_or_logout,name='login_or_logout'),
    path('manage/options/',views.manage_question,name='manage_question'),
    path('questions/',views.questions,name='questions'),
    path('api/',views.question_api,name='questions_api'),
    path('api/visits/',views.visits_api,name='visits'),
    path('api/results/',views.results_api,name='results')
]